package com.yxh.exception;


import com.yxh.util.APIErrorCode;

/**
 * 角色异常
 *
 * @author Sh1nno
 * @since 2018.3.13
 */
public class RoleException extends RuntimeException {
    private APIErrorCode code;

    public RoleException(APIErrorCode code) {
        this.code = code;
    }

    public APIErrorCode getCode() {
        return code;
    }
}